import java.util.Scanner;
import project.circle.Circle;

public class CircleOperation {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入圆的半径");
        double radius = sc.nextDouble();
        Circle circle = new Circle(radius);
        System.out.println("圆的周长为:" + String.format("%.2f",circle.getCircumference(radius)));
        System.out.println("圆的面积为:" + String.format("%.2f",circle.getArea(radius)));


    }
}
